package com.chongbangbang.enums;

/**
 * @author TP
 * @version 1.0
 * @date 2022/3/16 14:59
 */
public enum UserRoleEnum {
    ADMIN("admin","管理员"), USER("user","普通用户");

    private String role;
    private String msg;

    UserRoleEnum(String role, String msg) {
        this.role = role;
        this.msg = msg;
    }

    public String getRole() {
        return role;
    }

    public void setRole(String role) {
        this.role = role;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
